#!/bin/bash
#Clear redis data dir
#Author:haipenge
#Date:2018.05.15
root_dir=/home/soft/redis/cluster
cd $root_dir/8000
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8001
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8002
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8003
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8004
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8005
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8006
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8007
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8008
rm -rf appendonly.aof
rm -rf nodes.conf
cd $root_dir/8009
rm -rf appendonly.aof
rm -rf nodes.conf